<!--
/**
 * MyHeader.tpl
 * 
 * (C) 2009, tetsuya.odaka(EzoGP).
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-->
<!-- 
	汎用ヘッダーです。
	
	tetsuya.odaka 	2009/5/11
-->	
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>

<TITLE>{$myPageTitle}</TITLE>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="keywords" content="free, java, ajax, web, php, framework, eco, javaee, opensource">
<meta name="description" content="Web開発のオープンソースプロジェクト(Open Source Project for creating Web sites)">
<link rel="alternate" title="最近のプロジェクトニュース" href="http://sourceforge.jp/projects/ezogp/news/rss" type="application/rss+xml">
<link rel="alternate" title="新規リリース" href="http://sourceforge.jp/projects/ezogp/releases/rss" type="application/rss+xml">
<link rel="shortcut icon" href="../images/egp-favicon.ico" >

<link rel="stylesheet" type="text/css" href="../css/myznala-default-layout.css" /> 
<link rel="stylesheet" type="text/css" href="../css/myznala-layout.css" /> 
<link rel="stylesheet" type="text/css" href="../css/myznala-design.css" />

<link rel="stylesheet" type="text/css" href="../scripts/lib/yui/build/fonts/fonts-min.css" /> 
<link rel="stylesheet" type="text/css" href="../scripts/lib/yui/build/container/assets/skins/sam/container.css" /> 
<link rel="stylesheet" type="text/css" href="../scripts/lib/yui/build/treeview/assets/skins/sam/treeview.css" />

<style type="text/css"> 
/* 必要に応じて加えてください */
</style> 

<script type="text/javascript" src="../scripts/lib/yui/build/yahoo-dom-event/yahoo-dom-event.js"></script> 
<script type="text/javascript" src="../scripts/lib/yui/build/container/container.js"></script> 
<script type="text/javascript" src="../scripts/lib/yui/build/connection/connection-min.js" ></script>
<script type="text/javascript" src="../scripts/lib/yui/build/treeview/treeview-min.js" ></script>
<script type="text/javascript" src="../scripts/lib/yui/build/animation/animation-min.js" ></script> 
<script type="text/javascript" src="../scripts/lib/yui/build/dragdrop/dragdrop-min.js" ></script>

<script type="text/javascript" src="../scripts/myznala.js"></script> 
<script type="text/javascript" src="../scripts/myznala-yui.js"></script> 

<script type="text/javascript">
/* 必要に応じて加えてください */

/* Header部の初期化
 * 
 */
MyInit= function() {
	var loginObj;
	var menuObj;
	var helpObj;

	return{
    	init: function() {
		
		menuObj = new MyMenu();
		menuObj.init();
		
		loginObj = new MyLogin();
		loginObj.init();
		
		helpObj = new MyHelp();
		helpObj.init();
		// helpのパス名をセット
		helpObj.setHelpPath('../'+ YAHOO.util.Dom.get('egp-my-contextpath').innerHTML + '/help');
		
		} // initの終わり
	};
}();
	
//DOMが完全にloadされたら、サンプルを初期化する。
YAHOO.util.Event.onDOMReady(
	//DomReadyイベントで発火するハンドラ
	MyInit.init,
	//ハンドラに渡すオブジェクト
	MyInit,
	//ハンドラは、上記のオブジェクトのスコープをもつ。   
	true
);

</script>

</HEAD>
<BODY class="yui-skin-sam">
  <div id="egp-my-container">

    <div id="egp-my-header"><!--// ヘッダー -->
        <div class="egp-my-inner">
            <img src="../images/myznala_logo.png" alt="ミズナラ（水楢）">
            <div align="right" style="margin-top:-20px;">
            	<!-- XHRのエラー表示のためのマークアップ -->
				<span id="egp-my-xhrerror" class="egp-my-error"></span>
        		&nbsp &nbsp
        		<a id="egp-my-login" href="#">Login</a>
        		&nbsp &nbsp
        		<span id="egp-my-loginname">{$myLoginUser}</span>
        		&nbsp &nbsp
            	<a id="egp-my-menuopen" href="#">Menu</a>
            	&nbsp &nbsp
       	    	{date_format $.now "%Y-%m-%d"}
            	&nbsp &nbsp
				<!-- ヘルプ表示のためのマークアップ -->
				<a id="egp-my-help" href="#" title="help">
					<img class="egp-my-icon" src="../images/help-browser.png">
				</a>
        	</div>
        	
        </div>
    </div>
    
	<div  id="egp-my-contents">
	<div  id="egp-my-inner">
	<span id="egp-my-contextpath">{$myAppName}</span> /
	<span id="egp-my-pagename">{$myPageTitle}</span>
	<br>
	<br>
   